import 'package:flutter/material.dart';
import 'package:house_rental/widgets/common_swiper.dart';

import 'index_navigator.dart';


class TabIndex extends StatelessWidget {
  const TabIndex({super.key});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: Text('首页'),centerTitle: true,),
      body: ListView(children: [
        CommonSwiper(),
        IndexNavigator(),
        Text('内容')
      ],),
    );
  }
}